package com.mz.ozy.mvp.view;

import android.content.Context;
import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class CodeContract {

     public interface View extends BaseView {
         void onGetCodeSuccess(JSONObject jsonObject);
         void onGetCodeFail();
     }

     public interface  Presenter extends BasePresenter<View> {
         void onGetCode(Context context, String mobilePhone, String type) ;
    }


}
